<?php

/*
 * Post Comment
 * Yuanjun.Liu
 */

require 'init.php';

$appId = (string) $_REQUEST['app_id'];
$token = (string) $_REQUEST['token'];
$threadId = (string) $_REQUEST['thread_id'];
$authorId = (string) $_REQUEST['author_id'];
$action = (string) $_REQUEST['action'];

$appId || jError(1);
$sign || jError(2);

$app = new JcApp($appId);
empty($app->dbData) && jError(3);
?>
